
cmake_minimum_required(VERSION 3.22)

add_compile_options("/utf-8")

project(JUCE_Demo VERSION 0.0.1 LANGUAGES C CXX)

include(CMakeDependentOption)

set(THIRDPARTY_USE_JUCE ON)
set(JUCE_ENABLE_MODULE_SOURCE_GROUPS ON)


set(THIRDPARTY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/thirdparty")

include(${THIRDPARTY_DIR}/juce/extras/Build/CMake/JUCEModuleSupport.cmake)
include(${THIRDPARTY_DIR}/juce/extras/Build/CMake/JUCEUtils.cmake)

add_subdirectory(${THIRDPARTY_DIR})
add_subdirectory(src/AudioPlugin)
# add_subdirectory(src/GuiApp)
